﻿using System;
using System.Collections.Generic;
using DLM.Domain.Model;
using DLM.Infrastructure.Domain;
using DLM.Domain.DTO;
using System.Linq;
using System.Linq.Expressions;

namespace DLM.Domain.Repositories
{
    public interface IFriendRepository:IRepository<Friend,int>
    {
        // IEnumerable<Friend> FindByParticipated(int partyID, int pageIndex, int pageSize);

        IEnumerable<FriendDTO> FindFriendDTO(string accountName,int pageIndex,int pageSize);

        IEnumerable<FriendDTO> FindMyFriend(string accountName, int pageIndex, int pageSize);

        IEnumerable<FriendDTO> FindFriednRequest(string accountName, int pageIndex, int pageSize);

        int FindFriendRequestCount(string accountName);
    }
}
